function axios(options) {
  return new Promise((resolve, reject) => {
    wx.request({
      ...options,
      success(res) {
        resolve(res);
      },
      fail(res) {
        reject(new Error("请求失败"));
      },
    });
  });
}
